home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / preferences / fonts.xul < prev    next >
Extensible Markup Language  |  2006-09-22  |  11KB  |  241 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  5.  
  6. <!DOCTYPE prefwindow SYSTEM "chrome://browser/locale/preferences/fonts.dtd" >
  7.  
  8. <prefwindow id="FontsDialog" type="child"
  9.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  10.             title="&fontsDialog.title;"
  11.             dlgbuttons="accept,cancel"
  12.             style="width: &window.width; !important;">
  13.  
  14.   <prefpane id="FontsDialogPane">
  15.   
  16.     <preferences id="fontPreferences">
  17.       <preference id="font.language.group"  name="font.language.group"  type="wstring"/>
  18.       <preference id="browser.display.use_document_fonts"
  19.                   name="browser.display.use_document_fonts"
  20.                   type="int"/>
  21.       <preference id="intl.charset.default" name="intl.charset.default" type="wstring"/>
  22.     </preferences>
  23.     
  24.     <stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
  25.     <script type="application/x-javascript" src="chrome://mozapps/content/preferences/fontbuilder.js"/>
  26.     <script type="application/x-javascript" src="chrome://browser/content/preferences/fonts.js"/>
  27.  
  28.     <!-- Fonts for: [ Language ] -->
  29.     <groupbox>
  30.       <caption>
  31.         <hbox align="center">
  32.           <label accesskey="&language.accesskey;" control="selectLangs">&language.label;</label>
  33.         </hbox>
  34.         <menulist id="selectLangs" preference="font.language.group"
  35.                   onsyncfrompreference="return gFontsDialog.readFontLanguageGroup();">
  36.           <menupopup>
  37.             <menuitem value="x-western"       label="&font.langGroup.latin1;"/>
  38.             <menuitem value="x-central-euro"  label="&font.langGroup.latin2;"/>
  39.             <menuitem value="ja"              label="&font.langGroup.japanese;"/>
  40.             <menuitem value="zh-TW"           label="&font.langGroup.trad-chinese;"/>
  41.             <menuitem value="zh-CN"           label="&font.langGroup.simpl-chinese;"/>
  42.             <menuitem value="zh-HK"           label="&font.langGroup.trad-chinese-hk;"/>
  43.             <menuitem value="ko"              label="&font.langGroup.korean;"/>
  44.             <menuitem value="x-cyrillic"      label="&font.langGroup.cyrillic;"/>
  45.             <menuitem value="x-baltic"        label="&font.langGroup.baltic;"/>
  46.             <menuitem value="el"              label="&font.langGroup.el;"/>
  47.             <menuitem value="tr"              label="&font.langGroup.turkish;"/>
  48.             <menuitem value="th"              label="&font.langGroup.thai;"/>
  49.             <menuitem value="he"              label="&font.langGroup.hebrew;"/>
  50.             <menuitem value="ar"              label="&font.langGroup.arabic;"/>
  51.             <menuitem value="x-devanagari"    label="&font.langGroup.devanagari;"/>
  52.             <menuitem value="x-tamil"         label="&font.langGroup.tamil;"/>
  53.             <menuitem value="x-armn"          label="&font.langGroup.armenian;"/>
  54.             <menuitem value="x-beng"          label="&font.langGroup.bengali;"/>
  55.             <menuitem value="x-ethi"          label="&font.langGroup.ethiopic;"/>
  56.             <menuitem value="x-geor"          label="&font.langGroup.georgian;"/>
  57.             <menuitem value="x-gujr"          label="&font.langGroup.gujarati;"/>
  58.             <menuitem value="x-guru"          label="&font.langGroup.gurmukhi;"/>
  59.             <menuitem value="x-khmr"          label="&font.langGroup.khmer;"/>
  60.             <menuitem value="x-mlym"          label="&font.langGroup.malayalam;"/>
  61.             <menuitem value="x-cans"          label="&font.langGroup.canadian;"/>
  62.             <menuitem value="x-unicode"       label="&font.langGroup.unicode;"/>
  63.             <menuitem value="x-user-def"      label="&font.langGroup.user-def;"/>
  64.           </menupopup>
  65.         </menulist>
  66.       </caption>
  67.       
  68.       <grid>
  69.         <columns>
  70.           <column/>
  71.           <column flex="1"/>
  72.           <column/>
  73.           <column/>
  74.         </columns>
  75.         
  76.         <rows>
  77.           <row>
  78.             <separator class="thin"/>
  79.           </row>
  80.  
  81.           <row align="center">
  82.             <hbox align="center" pack="end">
  83.               <label accesskey="&proportional.accesskey;" control="defaultFontType">&proportional.label;</label>
  84.             </hbox>
  85.             <menulist id="defaultFontType" flex="1" style="width: 0px;">
  86.               <menupopup>
  87.                 <menuitem value="serif" label="&useDefaultFontSerif.label;"/>
  88.                 <menuitem value="sans-serif" label="&useDefaultFontSansSerif.label;"/>
  89.               </menupopup>
  90.             </menulist>
  91.             <hbox align="center" pack="end">
  92.               <label value="&size.label;"
  93.                      accesskey="&size.accesskey1;"
  94.                      control="sizeVar"/>
  95.             </hbox>  
  96.             <menulist id="sizeVar" class="small-margin">
  97.               <menupopup>
  98.                 <menuitem value="9" label="9"/>
  99.                 <menuitem value="10" label="10"/>
  100.                 <menuitem value="11" label="11"/>
  101.                 <menuitem value="12" label="12"/>
  102.                 <menuitem value="13" label="13"/>
  103.                 <menuitem value="14" label="14"/>
  104.                 <menuitem value="15" label="15"/>
  105.                 <menuitem value="16" label="16"/>
  106.                 <menuitem value="17" label="17"/>
  107.                 <menuitem value="18" label="18"/>
  108.                 <menuitem value="20" label="20"/>
  109.                 <menuitem value="22" label="22"/>
  110.                 <menuitem value="24" label="24"/>
  111.                 <menuitem value="26" label="26"/>
  112.                 <menuitem value="28" label="28"/>
  113.                 <menuitem value="30" label="30"/>
  114.                 <menuitem value="32" label="32"/>
  115.                 <menuitem value="34" label="34"/>
  116.                 <menuitem value="36" label="36"/>
  117.                 <menuitem value="40" label="40"/>
  118.                 <menuitem value="44" label="44"/>
  119.                 <menuitem value="48" label="48"/>
  120.                 <menuitem value="56" label="56"/>
  121.                 <menuitem value="64" label="64"/>
  122.                 <menuitem value="72" label="72"/>
  123.               </menupopup>
  124.             </menulist>
  125.           </row>
  126.           <row align="center">
  127.             <hbox align="center" pack="end">
  128.               <label accesskey="&serif.accesskey;" control="serif">&serif.label;</label>
  129.             </hbox>
  130.             <menulist id="serif" flex="1" style="width: 0px;"
  131.                       onsyncfrompreference="return gFontsDialog.readFontSelection(document.getElementById('serif'));"/>
  132.             <spacer/>
  133.           </row>
  134.           <row align="center">
  135.             <hbox align="center" pack="end">
  136.               <label accesskey="&sans-serif.accesskey;" control="sans-serif">&sans-serif.label;</label>
  137.             </hbox>
  138.             <menulist id="sans-serif" flex="1" style="width: 0px;"
  139.                       onsyncfrompreference="return gFontsDialog.readFontSelection(document.getElementById('sans-serif'));"/>
  140.             <spacer/>
  141.           </row>
  142.           <row align="center">
  143.             <hbox align="center" pack="end">
  144.               <label accesskey="&monospace.accesskey;" control="monospace">&monospace.label;</label>
  145.             </hbox>
  146.             <menulist id="monospace" flex="1" style="width: 0px;" crop="right"
  147.                       onsyncfrompreference="return gFontsDialog.readFontSelection(document.getElementById('monospace'));"/>
  148.             <hbox align="center" pack="end">
  149.               <label value="&size.label;"
  150.                      accesskey="&size.accesskey2;"
  151.                      control="sizeMono"/>
  152.             </hbox>  
  153.             <menulist id="sizeMono">
  154.               <menupopup>
  155.                 <menuitem value="9" label="9"/>
  156.                 <menuitem value="10" label="10"/>
  157.                 <menuitem value="11" label="11"/>
  158.                 <menuitem value="12" label="12"/>
  159.                 <menuitem value="13" label="13"/>
  160.                 <menuitem value="14" label="14"/>
  161.                 <menuitem value="15" label="15"/>
  162.                 <menuitem value="16" label="16"/>
  163.                 <menuitem value="17" label="17"/>
  164.                 <menuitem value="18" label="18"/>
  165.                 <menuitem value="20" label="20"/>
  166.                 <menuitem value="22" label="22"/>
  167.                 <menuitem value="24" label="24"/>
  168.                 <menuitem value="26" label="26"/>
  169.                 <menuitem value="28" label="28"/>
  170.                 <menuitem value="30" label="30"/>
  171.                 <menuitem value="32" label="32"/>
  172.                 <menuitem value="34" label="34"/>
  173.                 <menuitem value="36" label="36"/>
  174.                 <menuitem value="40" label="40"/>
  175.                 <menuitem value="44" label="44"/>
  176.                 <menuitem value="48" label="48"/>
  177.                 <menuitem value="56" label="56"/>
  178.                 <menuitem value="64" label="64"/>
  179.                 <menuitem value="72" label="72"/>
  180.               </menupopup>
  181.             </menulist>
  182.           </row>
  183.         </rows>
  184.       </grid>
  185.       <separator class="thin"/>
  186.       <hbox flex="1">
  187.         <spacer flex="1"/>
  188.         <hbox align="center" pack="end">
  189.           <label accesskey="&minSize.accesskey;" control="minSize">&minSize.label;</label>
  190.           <menulist id="minSize">
  191.             <menupopup>
  192.               <menuitem value="0" label="&minSize.none;"/>
  193.               <menuitem value="9" label="9"/>
  194.               <menuitem value="10" label="10"/>
  195.               <menuitem value="11" label="11"/>
  196.               <menuitem value="12" label="12"/>
  197.               <menuitem value="13" label="13"/>
  198.               <menuitem value="14" label="14"/>
  199.               <menuitem value="15" label="15"/>
  200.               <menuitem value="16" label="16"/>
  201.               <menuitem value="17" label="17"/>
  202.               <menuitem value="18" label="18"/>
  203.               <menuitem value="20" label="20"/>
  204.               <menuitem value="22" label="22"/>
  205.               <menuitem value="24" label="24"/>
  206.             </menupopup>
  207.           </menulist>
  208.         </hbox>
  209.       </hbox>
  210.       <separator/>
  211.       <separator class="groove"/>
  212.       <hbox>
  213.         <checkbox id="useDocumentFonts" 
  214.                   label="&allowPagesToUse.label;" accesskey="&allowPagesToUse.accesskey;"
  215.                   preference="browser.display.use_document_fonts"
  216.                   onsyncfrompreference="return gFontsDialog.readUseDocumentFonts();"
  217.                   onsynctopreference="return gFontsDialog.writeUseDocumentFonts();"/>
  218.       </hbox>
  219.     </groupbox>
  220.  
  221.     <!-- Character Encoding -->
  222.     <groupbox>
  223.       <caption label="&languages.customize.Charset.grouplabel;"/>
  224.       <hbox align="center">
  225.         <label value="&languages.customize.DefaultCharset.label;"
  226.                accesskey="&languages.customize.DefaultCharset.accesskey;"
  227.                control="DefaultCharsetList"/>
  228.         <menulist id="DefaultCharsetList" ref="NC:DecodersRoot" datasources="rdf:charset-menu"
  229.                   preference="intl.charset.default" 
  230.                   onsyncfrompreference="return gFontsDialog.readDefaultCharset();">
  231.           <template>
  232.             <menupopup>
  233.               <menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
  234.             </menupopup>
  235.           </template>
  236.         </menulist>
  237.       </hbox>
  238.     </groupbox>
  239.   </prefpane>
  240. </prefwindow>
  241.